var KeyEventBiz = {
	initialize : function(){
		$(document).on("keypress", function(e){
			if(e.keyCode == 116 && e.key == "F5"){

				
			}
		});

        $(window).on('beforeunload', function(e){
            if($('.divide-top').data("refresh_click") == "N"){
                $('.divide-top').data("refresh_click", "Y");
            }else{
                COMMAJAX.common_ajax({
                    url : "/mind/refreschEventCnt.do"
                    ,callback_fnc :  function(data){
                        console.log("start!!");
                    }
                });
            }
        });

        $(document).on('click', function(){
            $('.divide-top').data("refresh_click", "N");
        })
	}
};

!(function(){
	// Initializing Join Business
	KeyEventBiz.initialize();
})();